Skip to content

Conversation

@michaelhhogue
Copy link
Collaborator

What does this PR do?

This PR adds multi-platform System Prompts.

This keeps the original SYSTEM_PROMPT and renames it to SYSTEM_PROMPT_MAC.
SYSTEM_PROMPT_WIN_LINUX is added which replaces every Mac-specific key press (command + space and command + l) with the correlating key presses that work on Windows and Linux.

The same changes have been applied to the labeled system prompts.

Upon calling get_system_prompt, the appropriate system prompt is formatted and returned based on the host operating system.

Mandatory Tasks

Both tests in in evaluate.py pass.

Side note: operate isn't capturing summary screenshots.

@joshbickett joshbickett merged commit 0fed49d into OthersideAI:add-agent-1 Jan 15, 2024
@joshbickett
Copy link
Contributor

@michaelhhogue thank you for this PR. You may have noticed that we removed the summary_prompt and now just handle it in the main system_prompt below. Let me know if you think we should add back the summary prompt or if there's a way to incorporate it in this new prompt

4. done - The objective is completed
[{{ "thought": "write a thought here", "operation": "done", "summary": "summary of what was completed" }}]

@michaelhhogue
Copy link
Collaborator Author

@joshbickett Yeah I definitely think that removing the summary prompt and just handling it in the system prompt is the better approach.

@michaelhhogue michaelhhogue deleted the multiplatform-system-prompts branch February 14, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants